package com.x.service;

import com.x.entity.po.AddBlogPO;
import com.x.entity.po.UpdBlogPO;
import com.x.result.Result;
import org.springframework.stereotype.Service;

import java.util.ArrayList;

/**
 * @description
 * @Author Lin
 * @Date 2021/5/21 16:21
 */
@Service
public interface BlogService {

    Result insertBlog(AddBlogPO addBlogPO);

    Result deleteBlog(ArrayList<Integer> ids);

    Result updateBlog(UpdBlogPO updBlogPO);

    Result listBlog(Integer pageNo, Integer pageSize);
}
